<?php
define('ADMIN_UID','1');
define('DBHOST', 'localhost');
define('DBNAME', 'keke_witkey');
define('DBUSER', 'root');
define('DBPASS', 'root');
define('DBCHARSET','gbk');
define('CHARSET', 'gbk');
define('DBTYPE','mysql');
define('TABLEPRE', 'keke_');  
define('ENCODE_KEY','keke');  
define('GZIP',TRUE ); 
define("IS_REWRITE", 0 );  
define('IMGDIR','resource/img/');  
define('KEKE_DEBUG', 0);    
define("TPL_CACHE",1); 
define('IS_CACHE',1);
define('CACHE_TYPE', 'file');   
define('S_ROOT', dirname(dirname(__FILE__)).DIRECTORY_SEPARATOR);  

define('COOKIE_DOMAIN', '' ); 
define('COOKIE_PATH', '/' ); 
define('COOKIE_PRE', 'kekeWitkey' );  
define('COOKIE_TTL', 0 );  
 
if (function_exists ( 'date_default_timezone_set' )) {
	date_default_timezone_set ( 'PRC' );
}

 
$___y = date ( 'Y' );
$___m = date ( 'm' );
$___d = date ( 'd' );
define ( 'UPLOAD_RULE', "$___y/$___m/$___d/" );

